package com.red.star.wechat.data.entity;

import lombok.Data;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @ProjectName: macalline-data-server$
 * @Package: com.red.star.macalline.data.entity$
 * @Description: 访问记录汇总
 * @Author: tx_li
 * @CreateDate: 2018/7/25$ 下午1:26$
 * @Version: 1.0
 */
@Data
@Table(name = "stat_askanswer")
public class StatAskanswer extends BaseEntity {

    /**
     * 阅读者
     */
    private Integer fansId;

    /**
     * 阅读者昵称
     */
    @Transient
    private String fansNickname;

    /**
     * 阅读者头像
     */
    @Transient
    private String fansAvatarUrl;

    /**
     * 转发者ID
     */
    private Integer fromId;

    /**
     * 转发者昵称
     */
    @Transient
    private String fromNickname;

    /**
     * 转发者头像
     */
    @Transient
    private String fromAvatarUrl;

    /**
     * 操作类型
     */
    private String enumOptType;

    /**
     * ip地址
     */
    private String ip;

    /**
     * ip地址换算的城市名
     */
    private String city;

}
